#include "Device.h"
#include <opencv/highgui.h>
/**
* @class KinectInterface
*
* @brief Class serving as an abstraction of Kinect device
*
*
* This class contains methods for retrieving depth and rgb data.
*
* @author Elisabeth Lindquist, elisabeth.lindquist@gmail.com
*
*/
class KinectInterface{
    public:
        KinectInterface();
        ~KinectInterface();

        void run();
        void stop();
        void getRgbFrame(Mat &mat);
        void getDepthFrame(Mat &mat);


    private:
    Device *device;
    Freenect::Freenect<Device> freenect;

    bool running;



};
